package com.huiminpay.merchant.convert;

import com.huiminpay.merchant.dto.MerchantDTO;
import com.huiminpay.merchant.vo.MerchantRegisterVo;
import org.aspectj.weaver.ast.Var;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @ClassName: MerchantRegisterConvert
 * @Package: com.huiminpay.merchant.convert
 * @Description: 对象转换类
 * @Author 谢同学
 * @Create 2023/11/19 11:47
 * @Version 1.0
 */
@Mapper
public interface MerchantRegisterConvert {
    //MerchantRegisterConvert INSTANCE = Mappers.getMapper(MerchantRegisterConvert.class); //写完
    MerchantRegisterConvert INSTANCE = Mappers.getMapper(MerchantRegisterConvert.class);
    MerchantDTO vo2dto(MerchantRegisterVo vo);
    MerchantRegisterVo dto2vo(MerchantDTO dto);
}
